package com.oa.bean.work;

import java.util.Date;

/*
 * 物品申购表
 */
public class Apply {
	private int aid;// 申购id
	private int eid;// 员工id
	private Date adatetime;// 申购时间
	private int astatus;// 状态

	private Emp emp;// 多个物品被一个员工申购

	private Applygoods applygoods;// 一个申购对应一个申购明细

	public Applygoods getApplygoods() {
		return applygoods;
	}

	public void setApplygoods(Applygoods applygoods) {
		this.applygoods = applygoods;
	}

	public Emp getEmp() {
		return emp;
	}

	public void setEmp(Emp emp) {
		this.emp = emp;
	}

	public Apply(int aid, int eid, Date adatetime, int astatus) {
		super();
		this.aid = aid;
		this.eid = eid;
		this.adatetime = adatetime;
		this.astatus = astatus;
	}

	public Apply() {
	}

	public int getAid() {
		return aid;
	}

	public void setAid(int aid) {
		this.aid = aid;
	}

	public int getEid() {
		return eid;
	}

	public void setEid(int eid) {
		this.eid = eid;
	}

	public Date getAdatetime() {
		return adatetime;
	}

	public void setAdatetime(Date adatetime) {
		this.adatetime = adatetime;
	}

	public int getAstatus() {
		return astatus;
	}

	public void setAstatus(int astatus) {
		this.astatus = astatus;
	}

	@Override
	public String toString() {
		return "Apply [aid=" + aid + ", eid=" + eid + ", adatetime=" + adatetime + ", astatus=" + astatus + "]";
	}

}
